
{extend name='main'}



{block name="content"}
<div class="layui-card padding-20 shadow layui-card-body" >
    {include file='power_ranking/index_search'}
    <table class="layui-table margin-top-10" >
        {notempty name='list'}
        <thead>
        <tr>
            <th class='text-center nowrap'>排序</th>
            <th class='text-center nowrap'>照片</th>
            <th class='text-center nowrap'>姓名</th>
            <th class='text-center nowrap'>单量</th>
            <th class='text-center nowrap'>介绍</th>
            <th class="text-center nowrap">操作</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key => $vo}
        <tr>
            <td class='list-table-sort-td'>
                <input data-action-blur="{:request()->url()}" data-value="id#{$vo.id};action#sort;sort#{value}" data-loading="false" value="{$vo.sort}" class="list-sort-input">
            </td>
            <td class='text-center'><div class="headimg shadow-inset margin-0" data-tips-image data-tips-hover data-lazy-src="{$vo.img}"></div></td>
            <td class="text-center">{$vo.name|default='-'}</td>
            <td class="text-center">{$vo.order_num|default='-'}</td>
            <td class="text-center">{$vo.remark|default='-'}</td>
            <td class='text-center nowrap'>
                <!--{if auth("edit")}-->
                <a class="layui-btn layui-btn-sm layui-btn-warm" data-event-dbclick data-title="{:lang('编辑')}" data-modal='{:url("edit")}?id={$vo.id}'>{:lang('编 辑')}</a>
                <!--{/if}-->
                <!--{if auth("remove")}-->
                <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="{:lang('确定要删除吗？')}" data-action="{:url('remove')}" data-value="id#{$vo.id}">{:lang('删 除')}</a>
                <!--{/if}-->
            </td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>
{/block}
